﻿<ResourceDictionary 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Classic" 
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
	xmlns:Controls="clr-namespace:PSE.Deployment.ConfigurationManager.Controls;assembly=PSE.Deployment.ConfigurationManager.Controls"
	mc:Ignorable="d">
    <Style x:Key="ScrollViewerSetup" TargetType="{x:Type ScrollViewer}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ScrollViewer}">
                    <Grid x:Name="Grid" Background="Transparent">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="*"/>
                            <ColumnDefinition Width="Auto"/>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="*"/>
                            <RowDefinition Height="Auto"/>
                        </Grid.RowDefinitions>
                        <Rectangle x:Name="Corner" Fill="#00FFFFFF" Grid.Column="1" Grid.Row="1"/>
                        <Border BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}" Background="{TemplateBinding Background}" />
                        <ScrollContentPresenter x:Name="PART_ScrollContentPresenter" Grid.Column="0" Grid.Row="0" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" CanContentScroll="{TemplateBinding CanContentScroll}" CanHorizontallyScroll="False" CanVerticallyScroll="False" Width="{TemplateBinding Width}" Height="{TemplateBinding Height}"/>
                        <ScrollBar Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Cursor="Arrow" x:Name="PART_VerticalScrollBar" Grid.Column="1" Grid.Row="0" Orientation="Vertical" ViewportSize="{TemplateBinding ViewportHeight}" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0" Value="{Binding Path=VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" AutomationProperties.AutomationId="VerticalScrollBar" Style="{DynamicResource VerticalScrollBarStyle1}"/>
                        <ScrollBar Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Cursor="Arrow" x:Name="PART_HorizontalScrollBar" Grid.Column="0" Grid.Row="1" Orientation="Horizontal" ViewportSize="{TemplateBinding ViewportWidth}" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0" Value="{Binding Path=HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" AutomationProperties.AutomationId="HorizontalScrollBar" Style="{DynamicResource HorizontalScrollBarStyle1}"/>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="VerticalScrollBarStyle1" TargetType="{x:Type ScrollBar}">
        <Setter Property="Width" Value="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/>
        <Setter Property="MinWidth" Value="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ScrollBar}">
                    <Grid SnapsToDevicePixels="True" Background="Transparent">
                        <Grid.RowDefinitions>
                            <RowDefinition MaxHeight="{DynamicResource {x:Static SystemParameters.VerticalScrollBarButtonHeightKey}}"/>
                            <RowDefinition Height="1E-05*"/>
                            <RowDefinition MaxHeight="{DynamicResource {x:Static SystemParameters.VerticalScrollBarButtonHeightKey}}"/>
                        </Grid.RowDefinitions>
                        <RepeatButton Command="ScrollBar.LineUpCommand">
                            <RepeatButton.Style>
                                <Style TargetType="{x:Type RepeatButton}">
                                    <Setter Property="OverridesDefaultStyle" Value="True"/>
                                    <Setter Property="Focusable" Value="False"/>
                                    <Setter Property="IsTabStop" Value="False"/>
                                    <Setter Property="Template">
                                        <Setter.Value>
                                            <ControlTemplate TargetType="{x:Type RepeatButton}">
                                                <Grid>
                                                    <Path x:Name="ArrowDesign" Width="10" Height="5.96875" Stretch="Fill" Stroke="#FF295493" StrokeMiterLimit="2.75" Data="F1M402,274.888L397.5,279.857 406.5,279.857 402,274.888z" Canvas.Left="397" Canvas.Top="274.388">
                                                        <Path.Fill>
                                                            <LinearGradientBrush EndPoint="0.778496,0.729572" StartPoint="0.347224,0.729572">
                                                                <LinearGradientBrush.RelativeTransform>
                                                                    <TransformGroup>
                                                                        <SkewTransform AngleX="-28.8246" AngleY="0" CenterX="0.347224" CenterY="0.729572"/>
                                                                        <RotateTransform Angle="-46.816" CenterX="0.347224" CenterY="0.729572"/>
                                                                    </TransformGroup>
                                                                </LinearGradientBrush.RelativeTransform>
                                                                <GradientStop Color="#FF3A74C9" Offset="0"/>
                                                                <GradientStop Color="#FF669FF3" Offset="1"/>
                                                            </LinearGradientBrush>
                                                        </Path.Fill>
                                                    </Path>
                                                </Grid>
                                                <ControlTemplate.Triggers>
                                                    <Trigger Property="IsMouseOver" Value="True">
                                                        <Setter Property="Fill" TargetName="ArrowDesign">
                                                            <Setter.Value>
                                                                <LinearGradientBrush EndPoint="0.778496,0.729572" StartPoint="0.347224,0.729572">
                                                                    <LinearGradientBrush.RelativeTransform>
                                                                        <TransformGroup>
                                                                            <SkewTransform AngleX="-28.8246" AngleY="0" CenterX="0.347224" CenterY="0.729572"/>
                                                                            <RotateTransform Angle="-46.816" CenterX="0.347224" CenterY="0.729572"/>
                                                                        </TransformGroup>
                                                                    </LinearGradientBrush.RelativeTransform>
                                                                    <GradientStop Color="#FF5AA2E8" Offset="0"/>
                                                                    <GradientStop Color="#FF7FBFFA" Offset="1"/>
                                                                </LinearGradientBrush>
                                                            </Setter.Value>
                                                        </Setter>
                                                        <Setter Property="Stroke" TargetName="ArrowDesign" Value="#FF4B8CD1"/>
                                                    </Trigger>
                                                    <Trigger Property="IsMouseCaptured" Value="True">
                                                        <Setter Property="Fill" TargetName="ArrowDesign">
                                                            <Setter.Value>
                                                                <LinearGradientBrush EndPoint="0.778496,0.729572" StartPoint="0.347224,0.729572">
                                                                    <LinearGradientBrush.RelativeTransform>
                                                                        <TransformGroup>
                                                                            <SkewTransform AngleX="-28.8246" AngleY="0" CenterX="0.347224" CenterY="0.729572"/>
                                                                            <RotateTransform Angle="-46.816" CenterX="0.347224" CenterY="0.729572"/>
                                                                        </TransformGroup>
                                                                    </LinearGradientBrush.RelativeTransform>
                                                                    <GradientStop Color="#FF134CD1" Offset="0"/>
                                                                    <GradientStop Color="#FF217EF5" Offset="1"/>
                                                                </LinearGradientBrush>
                                                            </Setter.Value>
                                                        </Setter>
                                                        <Setter Property="Stroke" TargetName="ArrowDesign" Value="#FF0D37A4"/>
                                                    </Trigger>
                                                    <Trigger Property="IsEnabled" Value="False">
                                                        <Setter Property="Fill" TargetName="ArrowDesign">
                                                            <Setter.Value>
                                                                <LinearGradientBrush EndPoint="0.778496,0.729572" StartPoint="0.347224,0.729572">
                                                                    <LinearGradientBrush.RelativeTransform>
                                                                        <TransformGroup>
                                                                            <SkewTransform AngleX="-28.8246" AngleY="0" CenterX="0.347224" CenterY="0.729572"/>
                                                                            <RotateTransform Angle="-46.816" CenterX="0.347224" CenterY="0.729572"/>
                                                                        </TransformGroup>
                                                                    </LinearGradientBrush.RelativeTransform>
                                                                    <GradientStop Color="#FFD3D3D3" Offset="0"/>
                                                                    <GradientStop Color="#FFE0E0E0" Offset="1"/>
                                                                </LinearGradientBrush>
                                                            </Setter.Value>
                                                        </Setter>
                                                        <Setter Property="Stroke" TargetName="ArrowDesign" Value="#FFCACACA"/>
                                                    </Trigger>
                                                </ControlTemplate.Triggers>
                                            </ControlTemplate>
                                        </Setter.Value>
                                    </Setter>
                                </Style>
                            </RepeatButton.Style>
                        </RepeatButton>
                        <Track x:Name="PART_Track" Grid.Row="1" IsDirectionReversed="True">
                            <Track.DecreaseRepeatButton>
                                <RepeatButton Command="ScrollBar.PageUpCommand">
                                    <RepeatButton.Style>
                                        <Style TargetType="{x:Type RepeatButton}">
                                            <Setter Property="OverridesDefaultStyle" Value="True"/>
                                            <Setter Property="Background" Value="Transparent"/>
                                            <Setter Property="Focusable" Value="False"/>
                                            <Setter Property="IsTabStop" Value="False"/>
                                            <Setter Property="Template">
                                                <Setter.Value>
                                                    <ControlTemplate TargetType="{x:Type RepeatButton}">
                                                        <Grid Background="Transparent">
                                                            <Path x:Name="PageButton" Width="0.809" Height="{TemplateBinding Height}" Fill="#FF4C4C4C" Stretch="Fill" Stroke="#FF363636" StrokeEndLineCap="Round" StrokeLineJoin="Bevel" StrokeStartLineCap="Round" StrokeThickness="1" Data="F1M399.498,317.607L394.998,312.638 403.998,312.638 399.498,317.607z"/>
                                                        </Grid>
                                                        <ControlTemplate.Triggers>
                                                            <Trigger Property="IsMouseCaptured" Value="True">
                                                                <Setter Property="Fill" TargetName="PageButton" Value="#FF11243E"/>
                                                                <Setter Property="Stroke" TargetName="PageButton" Value="#FF0D37A4"/>
                                                            </Trigger>
                                                            <Trigger Property="IsEnabled" Value="False">
                                                                <Setter Property="Fill" TargetName="PageButton" Value="#FFCACACA"/>
                                                                <Setter Property="Stroke" TargetName="PageButton" Value="#FFCACACA"/>
                                                            </Trigger>
                                                        </ControlTemplate.Triggers>
                                                    </ControlTemplate>
                                                </Setter.Value>
                                            </Setter>
                                        </Style>
                                    </RepeatButton.Style>
                                </RepeatButton>
                            </Track.DecreaseRepeatButton>
                            <Track.IncreaseRepeatButton>
                                <RepeatButton Command="ScrollBar.PageDownCommand">
                                    <RepeatButton.Style>
                                        <Style TargetType="{x:Type RepeatButton}">
                                            <Setter Property="OverridesDefaultStyle" Value="True"/>
                                            <Setter Property="Background" Value="Transparent"/>
                                            <Setter Property="Focusable" Value="False"/>
                                            <Setter Property="IsTabStop" Value="False"/>
                                            <Setter Property="Template">
                                                <Setter.Value>
                                                    <ControlTemplate TargetType="{x:Type RepeatButton}">
                                                        <Grid Background="Transparent">
                                                            <Path x:Name="PageButton" Width="0.809" Height="{TemplateBinding Height}" Fill="#FF4C4C4C" Stretch="Fill" Stroke="#FF363636" StrokeEndLineCap="Round" StrokeLineJoin="Bevel" StrokeStartLineCap="Round" StrokeThickness="1" Data="F1M399.498,317.607L394.998,312.638 403.998,312.638 399.498,317.607z"/>
                                                        </Grid>
                                                        <ControlTemplate.Triggers>
                                                            <Trigger Property="IsMouseCaptured" Value="True">
                                                                <Setter Property="Fill" TargetName="PageButton" Value="#FF11243E"/>
                                                                <Setter Property="Stroke" TargetName="PageButton" Value="#FF0D37A4"/>
                                                            </Trigger>
                                                            <Trigger Property="IsEnabled" Value="False">
                                                                <Setter Property="Fill" TargetName="PageButton" Value="#FFCACACA"/>
                                                                <Setter Property="Stroke" TargetName="PageButton" Value="#FFCACACA"/>
                                                            </Trigger>
                                                        </ControlTemplate.Triggers>
                                                    </ControlTemplate>
                                                </Setter.Value>
                                            </Setter>
                                        </Style>
                                    </RepeatButton.Style>
                                </RepeatButton>
                            </Track.IncreaseRepeatButton>
                            <Track.Thumb>
                                <Thumb>
                                    <Thumb.Style>
                                        <Style TargetType="{x:Type Thumb}">
                                            <Setter Property="OverridesDefaultStyle" Value="True"/>
                                            <Setter Property="IsTabStop" Value="False"/>
                                            <Setter Property="Template">
                                                <Setter.Value>
                                                    <ControlTemplate TargetType="{x:Type Thumb}">
                                                        <Rectangle x:Name="Thumb" Width="7" Height="{TemplateBinding Height}" Stretch="Fill" Stroke="#FF363636" StrokeLineJoin="Round" RadiusX="2" RadiusY="2" Canvas.Left="391.249" Canvas.Top="290.25">
                                                            <Rectangle.Fill>
                                                                <LinearGradientBrush EndPoint="1.33332,0.500002" StartPoint="-0.333344,0.500002">
                                                                    <GradientStop Color="#FF303030" Offset="0"/>
                                                                    <GradientStop Color="#FF838383" Offset="0.283105"/>
                                                                    <GradientStop Color="#FFCDCDCD" Offset="0.378995"/>
                                                                    <GradientStop Color="#FE666666" Offset="0.456621"/>
                                                                    <GradientStop Color="#FF3E3E3E" Offset="1"/>
                                                                </LinearGradientBrush>
                                                            </Rectangle.Fill>
                                                        </Rectangle>
                                                        <ControlTemplate.Triggers>
                                                            <Trigger Property="IsMouseOver" Value="True">
                                                                <Setter Property="Fill" TargetName="Thumb">
                                                                    <Setter.Value>
                                                                        <LinearGradientBrush EndPoint="1.33332,0.500002" StartPoint="-0.333344,0.500002">
                                                                            <GradientStop Color="#FF5174A7" Offset="0"/>
                                                                            <GradientStop Color="#FF97ACCA" Offset="0.283105"/>
                                                                            <GradientStop Color="#FFD5DDEA" Offset="0.378995"/>
                                                                            <GradientStop Color="#FE7F98BE" Offset="0.456621"/>
                                                                            <GradientStop Color="#FF5D7EAD" Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Setter.Value>
                                                                </Setter>
                                                                <Setter Property="Stroke" TargetName="Thumb" Value="#FF5678AA"/>
                                                            </Trigger>
                                                            <Trigger Property="IsMouseCaptured" Value="True">
                                                                <Setter Property="Fill" TargetName="Thumb">
                                                                    <Setter.Value>
                                                                        <LinearGradientBrush EndPoint="1.33332,0.500002" StartPoint="-0.333344,0.500002">
                                                                            <GradientStop Color="#FF0F2037" Offset="0"/>
                                                                            <GradientStop Color="#FF2F5996" Offset="0.283105"/>
                                                                            <GradientStop Color="#FFABBCD5" Offset="0.378995"/>
                                                                            <GradientStop Color="#FE214376" Offset="0.456621"/>
                                                                            <GradientStop Color="#FF3E3E3E" Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Setter.Value>
                                                                </Setter>
                                                                <Setter Property="Stroke" TargetName="Thumb" Value="#FF11243E"/>
                                                            </Trigger>
                                                            <Trigger Property="IsEnabled" Value="False">
                                                                <Setter Property="Fill" TargetName="Thumb">
                                                                    <Setter.Value>
                                                                        <LinearGradientBrush EndPoint="1.33332,0.500002" StartPoint="-0.333344,0.500002">
                                                                            <GradientStop Color="#FFC1C1C1" Offset="0"/>
                                                                            <GradientStop Color="#FFDADADA" Offset="0.283105"/>
                                                                            <GradientStop Color="#FFF0F0F0" Offset="0.378995"/>
                                                                            <GradientStop Color="#FED1D1D1" Offset="0.456621"/>
                                                                            <GradientStop Color="#FFC5C5C5" Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Setter.Value>
                                                                </Setter>
                                                                <Setter Property="Stroke" TargetName="Thumb" Value="#FFCACACA"/>
                                                            </Trigger>
                                                        </ControlTemplate.Triggers>
                                                    </ControlTemplate>
                                                </Setter.Value>
                                            </Setter>
                                        </Style>
                                    </Thumb.Style>
                                </Thumb>
                            </Track.Thumb>
                        </Track>
                        <RepeatButton Grid.Row="2" Command="ScrollBar.LineDownCommand">
                            <RepeatButton.Style>
                                <Style TargetType="{x:Type RepeatButton}">
                                    <Setter Property="OverridesDefaultStyle" Value="True"/>
                                    <Setter Property="Focusable" Value="False"/>
                                    <Setter Property="IsTabStop" Value="False"/>
                                    <Setter Property="Template">
                                        <Setter.Value>
                                            <ControlTemplate TargetType="{x:Type RepeatButton}">
                                                <Grid Background="Transparent">
                                                    <Path x:Name="ArrowDesign" Width="10" Height="5.96875" Stretch="Fill" Stroke="#FF295493" StrokeMiterLimit="2.75" Data="F1M399.498,317.607L394.998,312.638 403.998,312.638 399.498,317.607z" Canvas.Left="394.498" Canvas.Top="312.138">
                                                        <Path.Fill>
                                                            <LinearGradientBrush EndPoint="0.778496,0.270434" StartPoint="0.347224,0.270434">
                                                                <LinearGradientBrush.RelativeTransform>
                                                                    <TransformGroup>
                                                                        <SkewTransform AngleX="28.8246" AngleY="0" CenterX="0.347224" CenterY="0.270434"/>
                                                                        <RotateTransform Angle="46.816" CenterX="0.347224" CenterY="0.270434"/>
                                                                    </TransformGroup>
                                                                </LinearGradientBrush.RelativeTransform>
                                                                <GradientStop Color="#FF3A74C9" Offset="0"/>
                                                                <GradientStop Color="#FF669FF3" Offset="1"/>
                                                            </LinearGradientBrush>
                                                        </Path.Fill>
                                                    </Path>
                                                </Grid>
                                                <ControlTemplate.Triggers>
                                                    <Trigger Property="IsMouseOver" Value="True">
                                                        <Setter Property="Fill" TargetName="ArrowDesign">
                                                            <Setter.Value>
                                                                <LinearGradientBrush EndPoint="0.778496,0.270434" StartPoint="0.347224,0.270434">
                                                                    <LinearGradientBrush.RelativeTransform>
                                                                        <TransformGroup>
                                                                            <SkewTransform AngleX="28.8246" AngleY="0" CenterX="0.347224" CenterY="0.270434"/>
                                                                            <RotateTransform Angle="46.816" CenterX="0.347224" CenterY="0.270434"/>
                                                                        </TransformGroup>
                                                                    </LinearGradientBrush.RelativeTransform>
                                                                    <GradientStop Color="#FF5AA2E8" Offset="0"/>
                                                                    <GradientStop Color="#FF7FBFFA" Offset="1"/>
                                                                </LinearGradientBrush>
                                                            </Setter.Value>
                                                        </Setter>
                                                        <Setter Property="Stroke" TargetName="ArrowDesign" Value="#FF4B8CD1"/>
                                                    </Trigger>
                                                    <Trigger Property="IsMouseCaptured" Value="True">
                                                        <Setter Property="Fill" TargetName="ArrowDesign">
                                                            <Setter.Value>
                                                                <LinearGradientBrush EndPoint="0.778496,0.270434" StartPoint="0.347224,0.270434">
                                                                    <LinearGradientBrush.RelativeTransform>
                                                                        <TransformGroup>
                                                                            <SkewTransform AngleX="28.8246" AngleY="0" CenterX="0.347224" CenterY="0.270434"/>
                                                                            <RotateTransform Angle="46.816" CenterX="0.347224" CenterY="0.270434"/>
                                                                        </TransformGroup>
                                                                    </LinearGradientBrush.RelativeTransform>
                                                                    <GradientStop Color="#FF134CD1" Offset="0"/>
                                                                    <GradientStop Color="#FF217EF5" Offset="1"/>
                                                                </LinearGradientBrush>
                                                            </Setter.Value>
                                                        </Setter>
                                                        <Setter Property="Stroke" TargetName="ArrowDesign" Value="#FF0D37A4"/>
                                                    </Trigger>
                                                    <Trigger Property="IsEnabled" Value="False">
                                                        <Setter Property="Fill" TargetName="ArrowDesign">
                                                            <Setter.Value>
                                                                <LinearGradientBrush EndPoint="0.778496,0.270434" StartPoint="0.347224,0.270434">
                                                                    <LinearGradientBrush.RelativeTransform>
                                                                        <TransformGroup>
                                                                            <SkewTransform AngleX="28.8246" AngleY="0" CenterX="0.347224" CenterY="0.270434"/>
                                                                            <RotateTransform Angle="46.816" CenterX="0.347224" CenterY="0.270434"/>
                                                                        </TransformGroup>
                                                                    </LinearGradientBrush.RelativeTransform>
                                                                    <GradientStop Color="#FFD3D3D3" Offset="0"/>
                                                                    <GradientStop Color="#FFE0E0E0" Offset="1"/>
                                                                </LinearGradientBrush>
                                                            </Setter.Value>
                                                        </Setter>
                                                        <Setter Property="Stroke" TargetName="ArrowDesign" Value="#FFCACACA"/>
                                                    </Trigger>
                                                </ControlTemplate.Triggers>
                                            </ControlTemplate>
                                        </Setter.Value>
                                    </Setter>
                                </Style>
                            </RepeatButton.Style>
                        </RepeatButton>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Key="HorizontalScrollBarStyle1" TargetType="{x:Type ScrollBar}">
        <Setter Property="Height" Value="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarHeightKey}}"/>
        <Setter Property="MinHeight" Value="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarHeightKey}}"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ScrollBar}">
                    <Grid SnapsToDevicePixels="True" Background="Transparent">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition MaxWidth="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarButtonWidthKey}}"/>
                            <ColumnDefinition Width="1E-05*"/>
                            <ColumnDefinition MaxWidth="{DynamicResource {x:Static SystemParameters.HorizontalScrollBarButtonWidthKey}}"/>
                        </Grid.ColumnDefinitions>
                        <RepeatButton Command="ScrollBar.LineLeftCommand">
                            <RepeatButton.Style>
                                <Style TargetType="{x:Type RepeatButton}">
                                    <Setter Property="OverridesDefaultStyle" Value="True"/>
                                    <Setter Property="Focusable" Value="False"/>
                                    <Setter Property="IsTabStop" Value="False"/>
                                    <Setter Property="Template">
                                        <Setter.Value>
                                            <ControlTemplate TargetType="{x:Type RepeatButton}">
                                                <Grid Background="Transparent">
                                                    <Path x:Name="ArrowDesign" Width="5.96875" Height="10" Stretch="Fill" Stroke="#FF295493" StrokeMiterLimit="2.75" Data="F1M375.892,298L380.861,302.5 380.861,293.5 375.892,298z" Canvas.Left="375.392" Canvas.Top="293">
                                                        <Path.Fill>
                                                            <LinearGradientBrush EndPoint="1.16084,0.652776" StartPoint="0.729572,0.652776">
                                                                <LinearGradientBrush.RelativeTransform>
                                                                    <TransformGroup>
                                                                        <SkewTransform AngleX="-28.8246" AngleY="0" CenterX="0.729572" CenterY="0.652776"/>
                                                                        <RotateTransform Angle="223.184" CenterX="0.729572" CenterY="0.652776"/>
                                                                    </TransformGroup>
                                                                </LinearGradientBrush.RelativeTransform>
                                                                <GradientStop Color="#FF3A74C9" Offset="0"/>
                                                                <GradientStop Color="#FF669FF3" Offset="1"/>
                                                            </LinearGradientBrush>
                                                        </Path.Fill>
                                                    </Path>
                                                </Grid>
                                                <ControlTemplate.Triggers>
                                                    <Trigger Property="IsMouseOver" Value="True">
                                                        <Setter Property="Fill" TargetName="ArrowDesign">
                                                            <Setter.Value>
                                                                <LinearGradientBrush EndPoint="1.16084,0.652773" StartPoint="0.729566,0.652773">
                                                                    <LinearGradientBrush.RelativeTransform>
                                                                        <TransformGroup>
                                                                            <SkewTransform AngleX="-28.8247" AngleY="0" CenterX="0.729566" CenterY="0.652773"/>
                                                                            <RotateTransform Angle="223.184" CenterX="0.729566" CenterY="0.652773"/>
                                                                        </TransformGroup>
                                                                    </LinearGradientBrush.RelativeTransform>
                                                                    <GradientStop Color="#FF5AA2E8" Offset="0"/>
                                                                    <GradientStop Color="#FF7FBFFA" Offset="1"/>
                                                                </LinearGradientBrush>
                                                            </Setter.Value>
                                                        </Setter>
                                                        <Setter Property="Stroke" TargetName="ArrowDesign" Value="#FF4B8CD1"/>
                                                    </Trigger>
                                                    <Trigger Property="IsMouseCaptured" Value="True">
                                                        <Setter Property="Fill" TargetName="ArrowDesign">
                                                            <Setter.Value>
                                                                <LinearGradientBrush EndPoint="1.16084,0.652773" StartPoint="0.729566,0.652773">
                                                                    <LinearGradientBrush.RelativeTransform>
                                                                        <TransformGroup>
                                                                            <SkewTransform AngleX="-28.8247" AngleY="0" CenterX="0.729566" CenterY="0.652773"/>
                                                                            <RotateTransform Angle="223.184" CenterX="0.729566" CenterY="0.652773"/>
                                                                        </TransformGroup>
                                                                    </LinearGradientBrush.RelativeTransform>
                                                                    <GradientStop Color="#FF134CD1" Offset="0"/>
                                                                    <GradientStop Color="#FF217EF5" Offset="1"/>
                                                                </LinearGradientBrush>
                                                            </Setter.Value>
                                                        </Setter>
                                                        <Setter Property="Stroke" TargetName="ArrowDesign" Value="#FF0D37A4"/>
                                                    </Trigger>
                                                    <Trigger Property="IsEnabled" Value="False">
                                                        <Setter Property="Fill" TargetName="ArrowDesign">
                                                            <Setter.Value>
                                                                <LinearGradientBrush EndPoint="1.16084,0.652773" StartPoint="0.729566,0.652773">
                                                                    <LinearGradientBrush.RelativeTransform>
                                                                        <TransformGroup>
                                                                            <SkewTransform AngleX="-28.8247" AngleY="0" CenterX="0.729566" CenterY="0.652773"/>
                                                                            <RotateTransform Angle="223.184" CenterX="0.729566" CenterY="0.652773"/>
                                                                        </TransformGroup>
                                                                    </LinearGradientBrush.RelativeTransform>
                                                                    <GradientStop Color="#FFD3D3D3" Offset="0"/>
                                                                    <GradientStop Color="#FFE0E0E0" Offset="1"/>
                                                                </LinearGradientBrush>
                                                            </Setter.Value>
                                                        </Setter>
                                                        <Setter Property="Stroke" TargetName="ArrowDesign" Value="#FFCACACA"/>
                                                    </Trigger>
                                                </ControlTemplate.Triggers>
                                            </ControlTemplate>
                                        </Setter.Value>
                                    </Setter>
                                </Style>
                            </RepeatButton.Style>
                        </RepeatButton>
                        <Track x:Name="PART_Track" Grid.Column="1">
                            <Track.DecreaseRepeatButton>
                                <RepeatButton Command="ScrollBar.PageLeftCommand">
                                    <RepeatButton.Style>
                                        <Style TargetType="{x:Type RepeatButton}">
                                            <Setter Property="OverridesDefaultStyle" Value="True"/>
                                            <Setter Property="Background" Value="Transparent"/>
                                            <Setter Property="Focusable" Value="False"/>
                                            <Setter Property="IsTabStop" Value="False"/>
                                            <Setter Property="Template">
                                                <Setter.Value>
                                                    <ControlTemplate TargetType="{x:Type RepeatButton}">
                                                        <Grid Background="Transparent">
                                                            <Path RenderTransformOrigin="0.5,0.5" x:Name="PageButton" Width="{TemplateBinding Width}" Height="0.809" Fill="#FF4C4C4C" Stretch="Fill" Stroke="#FF363636" StrokeEndLineCap="Round" StrokeLineJoin="Bevel" StrokeStartLineCap="Round" StrokeThickness="1" Data="F1M399.498,317.607L394.998,312.638 403.998,312.638 399.498,317.607z"/>
                                                        </Grid>
                                                        <ControlTemplate.Triggers>
                                                            <Trigger Property="IsMouseCaptured" Value="True">
                                                                <Setter Property="Fill" TargetName="PageButton" Value="#FF11243E"/>
                                                                <Setter Property="Stroke" TargetName="PageButton" Value="#FF0D37A4"/>
                                                            </Trigger>
                                                            <Trigger Property="IsEnabled" Value="False">
                                                                <Setter Property="Fill" TargetName="PageButton" Value="#FFCACACA"/>
                                                                <Setter Property="Stroke" TargetName="PageButton" Value="#FFCACACA"/>
                                                            </Trigger>
                                                        </ControlTemplate.Triggers>
                                                    </ControlTemplate>
                                                </Setter.Value>
                                            </Setter>
                                        </Style>
                                    </RepeatButton.Style>
                                </RepeatButton>
                            </Track.DecreaseRepeatButton>
                            <Track.IncreaseRepeatButton>
                                <RepeatButton Command="ScrollBar.PageRightCommand">
                                    <RepeatButton.Style>
                                        <Style TargetType="{x:Type RepeatButton}">
                                            <Setter Property="OverridesDefaultStyle" Value="True"/>
                                            <Setter Property="Background" Value="Transparent"/>
                                            <Setter Property="Focusable" Value="False"/>
                                            <Setter Property="IsTabStop" Value="False"/>
                                            <Setter Property="Template">
                                                <Setter.Value>
                                                    <ControlTemplate TargetType="{x:Type RepeatButton}">
                                                        <Grid Background="Transparent">
                                                            <Path RenderTransformOrigin="0.5,0.5" x:Name="PageButton" Width="{TemplateBinding Width}" Height="0.809" Fill="#FF4C4C4C" Stretch="Fill" Stroke="#FF363636" StrokeEndLineCap="Round" StrokeLineJoin="Bevel" StrokeStartLineCap="Round" StrokeThickness="1" Data="F1M399.498,317.607L394.998,312.638 403.998,312.638 399.498,317.607z"/>
                                                        </Grid>
                                                        <ControlTemplate.Triggers>
                                                            <Trigger Property="IsMouseCaptured" Value="True">
                                                                <Setter Property="Fill" TargetName="PageButton" Value="#FF11243E"/>
                                                                <Setter Property="Stroke" TargetName="PageButton" Value="#FF0D37A4"/>
                                                            </Trigger>
                                                            <Trigger Property="IsEnabled" Value="False">
                                                                <Setter Property="Fill" TargetName="PageButton" Value="#FFCACACA"/>
                                                                <Setter Property="Stroke" TargetName="PageButton" Value="#FFCACACA"/>
                                                            </Trigger>
                                                        </ControlTemplate.Triggers>
                                                    </ControlTemplate>
                                                </Setter.Value>
                                            </Setter>
                                        </Style>
                                    </RepeatButton.Style>
                                </RepeatButton>
                            </Track.IncreaseRepeatButton>
                            <Track.Thumb>
                                <Thumb>
                                    <Thumb.Style>
                                        <Style TargetType="{x:Type Thumb}">
                                            <Setter Property="OverridesDefaultStyle" Value="True"/>
                                            <Setter Property="IsTabStop" Value="False"/>
                                            <Setter Property="Template">
                                                <Setter.Value>
                                                    <ControlTemplate TargetType="{x:Type Thumb}">
                                                        <Rectangle x:Name="Thumb" Width="{TemplateBinding Width}" Height="7" Stretch="Fill" Stroke="#FF363636" StrokeLineJoin="Round" RadiusX="2" RadiusY="2" Canvas.Left="401.397" Canvas.Top="293.5">
                                                            <Rectangle.Fill>
                                                                <LinearGradientBrush EndPoint="0.5,1.33333" StartPoint="0.5,-0.333338">
                                                                    <GradientStop Color="#FF303030" Offset="0"/>
                                                                    <GradientStop Color="#FF838383" Offset="0.283105"/>
                                                                    <GradientStop Color="#FFCDCDCD" Offset="0.378995"/>
                                                                    <GradientStop Color="#FE666666" Offset="0.456621"/>
                                                                    <GradientStop Color="#FF3E3E3E" Offset="1"/>
                                                                </LinearGradientBrush>
                                                            </Rectangle.Fill>
                                                        </Rectangle>
                                                        <ControlTemplate.Triggers>
                                                            <Trigger Property="IsMouseOver" Value="True">
                                                                <Setter Property="Fill" TargetName="Thumb">
                                                                    <Setter.Value>
                                                                        <LinearGradientBrush EndPoint="0.5,1.33333" StartPoint="0.5,-0.333338">
                                                                            <GradientStop Color="#FF5174A7" Offset="0"/>
                                                                            <GradientStop Color="#FF97ACCA" Offset="0.283105"/>
                                                                            <GradientStop Color="#FFD5DDEA" Offset="0.378995"/>
                                                                            <GradientStop Color="#FE7F98BE" Offset="0.456621"/>
                                                                            <GradientStop Color="#FF5D7EAD" Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Setter.Value>
                                                                </Setter>
                                                                <Setter Property="Stroke" TargetName="Thumb" Value="#FF5678AA"/>
                                                            </Trigger>
                                                            <Trigger Property="IsMouseCaptured" Value="True">
                                                                <Setter Property="Fill" TargetName="Thumb">
                                                                    <Setter.Value>
                                                                        <LinearGradientBrush EndPoint="0.5,1.33333" StartPoint="0.5,-0.333338">
                                                                            <GradientStop Color="#FF0F2037" Offset="0"/>
                                                                            <GradientStop Color="#FF2F5996" Offset="0.283105"/>
                                                                            <GradientStop Color="#FFABBCD5" Offset="0.378995"/>
                                                                            <GradientStop Color="#FE214376" Offset="0.456621"/>
                                                                            <GradientStop Color="#FF142947" Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Setter.Value>
                                                                </Setter>
                                                                <Setter Property="Stroke" TargetName="Thumb" Value="#FF11243E"/>
                                                            </Trigger>
                                                            <Trigger Property="IsEnabled" Value="False">
                                                                <Setter Property="Fill" TargetName="Thumb">
                                                                    <Setter.Value>
                                                                        <LinearGradientBrush EndPoint="0.5,1.33333" StartPoint="0.5,-0.333338">
                                                                            <GradientStop Color="#FFC1C1C1" Offset="0"/>
                                                                            <GradientStop Color="#FFDADADA" Offset="0.283105"/>
                                                                            <GradientStop Color="#FFF0F0F0" Offset="0.378995"/>
                                                                            <GradientStop Color="#FED1D1D1" Offset="0.456621"/>
                                                                            <GradientStop Color="#FFC5C5C5" Offset="1"/>
                                                                        </LinearGradientBrush>
                                                                    </Setter.Value>
                                                                </Setter>
                                                                <Setter Property="Stroke" TargetName="Thumb" Value="#FFCACACA"/>
                                                            </Trigger>
                                                        </ControlTemplate.Triggers>
                                                    </ControlTemplate>
                                                </Setter.Value>
                                            </Setter>
                                        </Style>
                                    </Thumb.Style>
                                </Thumb>
                            </Track.Thumb>
                        </Track>
                        <RepeatButton Grid.Column="2" Command="ScrollBar.LineRightCommand">
                            <RepeatButton.Style>
                                <Style TargetType="{x:Type RepeatButton}">
                                    <Setter Property="OverridesDefaultStyle" Value="True"/>
                                    <Setter Property="Focusable" Value="False"/>
                                    <Setter Property="IsTabStop" Value="False"/>
                                    <Setter Property="Template">
                                        <Setter.Value>
                                            <ControlTemplate TargetType="{x:Type RepeatButton}">
                                                <Grid Background="Transparent">
                                                    <Path x:Name="ArrowDesign" Width="5.96875" Height="10" Stretch="Fill" Stroke="#FF295493" StrokeMiterLimit="2.75" Data="F1M423.983,297.627L419.014,302.127 419.014,293.127 423.983,297.627z" Canvas.Left="418.514" Canvas.Top="292.627">
                                                        <Path.Fill>
                                                            <LinearGradientBrush EndPoint="0.701699,0.652776" StartPoint="0.270428,0.652776">
                                                                <LinearGradientBrush.RelativeTransform>
                                                                    <TransformGroup>
                                                                        <SkewTransform AngleX="28.8246" AngleY="0" CenterX="0.270428" CenterY="0.652776"/>
                                                                        <RotateTransform Angle="-43.184" CenterX="0.270428" CenterY="0.652776"/>
                                                                    </TransformGroup>
                                                                </LinearGradientBrush.RelativeTransform>
                                                                <GradientStop Color="#FF3A74C9" Offset="0"/>
                                                                <GradientStop Color="#FF669FF3" Offset="1"/>
                                                            </LinearGradientBrush>
                                                        </Path.Fill>
                                                    </Path>
                                                </Grid>
                                                <ControlTemplate.Triggers>
                                                    <Trigger Property="IsMouseOver" Value="True">
                                                        <Setter Property="Fill" TargetName="ArrowDesign">
                                                            <Setter.Value>
                                                                <LinearGradientBrush EndPoint="0.701705,0.652776" StartPoint="0.270434,0.652776">
                                                                    <LinearGradientBrush.RelativeTransform>
                                                                        <TransformGroup>
                                                                            <SkewTransform AngleX="28.8246" AngleY="0" CenterX="0.270434" CenterY="0.652776"/>
                                                                            <RotateTransform Angle="-43.184" CenterX="0.270434" CenterY="0.652776"/>
                                                                        </TransformGroup>
                                                                    </LinearGradientBrush.RelativeTransform>
                                                                    <GradientStop Color="#FF5AA2E8" Offset="0"/>
                                                                    <GradientStop Color="#FF7FBFFA" Offset="1"/>
                                                                </LinearGradientBrush>
                                                            </Setter.Value>
                                                        </Setter>
                                                        <Setter Property="Stroke" TargetName="ArrowDesign" Value="#FF4B8CD1"/>
                                                    </Trigger>
                                                    <Trigger Property="IsMouseCaptured" Value="True">
                                                        <Setter Property="Fill" TargetName="ArrowDesign">
                                                            <Setter.Value>
                                                                <LinearGradientBrush EndPoint="0.701705,0.652776" StartPoint="0.270434,0.652776">
                                                                    <LinearGradientBrush.RelativeTransform>
                                                                        <TransformGroup>
                                                                            <SkewTransform AngleX="28.8246" AngleY="0" CenterX="0.270434" CenterY="0.652776"/>
                                                                            <RotateTransform Angle="-43.184" CenterX="0.270434" CenterY="0.652776"/>
                                                                        </TransformGroup>
                                                                    </LinearGradientBrush.RelativeTransform>
                                                                    <GradientStop Color="#FF134CD1" Offset="0"/>
                                                                    <GradientStop Color="#FF217EF5" Offset="1"/>
                                                                </LinearGradientBrush>
                                                            </Setter.Value>
                                                        </Setter>
                                                        <Setter Property="Stroke" TargetName="ArrowDesign" Value="#FF0D37A4"/>
                                                    </Trigger>
                                                    <Trigger Property="IsEnabled" Value="False">
                                                        <Setter Property="Fill" TargetName="ArrowDesign">
                                                            <Setter.Value>
                                                                <LinearGradientBrush EndPoint="0.701705,0.652776" StartPoint="0.270434,0.652776">
                                                                    <LinearGradientBrush.RelativeTransform>
                                                                        <TransformGroup>
                                                                            <SkewTransform AngleX="28.8246" AngleY="0" CenterX="0.270434" CenterY="0.652776"/>
                                                                            <RotateTransform Angle="-43.184" CenterX="0.270434" CenterY="0.652776"/>
                                                                        </TransformGroup>
                                                                    </LinearGradientBrush.RelativeTransform>
                                                                    <GradientStop Color="#FFD3D3D3" Offset="0"/>
                                                                    <GradientStop Color="#FFE0E0E0" Offset="1"/>
                                                                </LinearGradientBrush>
                                                            </Setter.Value>
                                                        </Setter>
                                                        <Setter Property="Stroke" TargetName="ArrowDesign" Value="#FFCACACA"/>
                                                    </Trigger>
                                                </ControlTemplate.Triggers>
                                            </ControlTemplate>
                                        </Setter.Value>
                                    </Setter>
                                </Style>
                            </RepeatButton.Style>
                        </RepeatButton>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
	<Style x:Key="GridViewScrollViewer" TargetType="{x:Type ScrollViewer}">
		<Setter Property="Focusable" Value="false" />
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type ScrollViewer}">
					<Grid Background="Transparent" SnapsToDevicePixels="true">
						<Grid.ColumnDefinitions>
							<ColumnDefinition Width="*" />
							<ColumnDefinition Width="Auto" />
						</Grid.ColumnDefinitions>
						<Grid.RowDefinitions>
							<RowDefinition Height="*" />
							<RowDefinition Height="Auto" />
						</Grid.RowDefinitions>
						<DockPanel Margin="{TemplateBinding Padding}" Grid.ColumnSpan="2">
							<ScrollViewer DockPanel.Dock="Top" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden" Focusable="false">
								<GridViewHeaderRowPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" ColumnHeaderContainerStyle="{Binding Path=TemplatedParent.View.ColumnHeaderContainerStyle, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderTemplate="{Binding Path=TemplatedParent.View.ColumnHeaderTemplate, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderTemplateSelector="{Binding Path=TemplatedParent.View.ColumnHeaderTemplateSelector, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderStringFormat="{Binding Path=TemplatedParent.View.ColumnHeaderStringFormat, RelativeSource={RelativeSource TemplatedParent}}" AllowsColumnReorder="{Binding Path=TemplatedParent.View.AllowsColumnReorder, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderContextMenu="{Binding Path=TemplatedParent.View.ColumnHeaderContextMenu, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderToolTip="{Binding Path=TemplatedParent.View.ColumnHeaderToolTip, RelativeSource={RelativeSource TemplatedParent}}">
									<GridViewHeaderRowPresenter.Columns>
										<Binding Path="TemplatedParent.View.Columns" RelativeSource="{RelativeSource TemplatedParent}" />
									</GridViewHeaderRowPresenter.Columns>
								</GridViewHeaderRowPresenter>
							</ScrollViewer>
							<ScrollContentPresenter Name="PART_ScrollContentPresenter" KeyboardNavigation.DirectionalNavigation="Local" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" CanContentScroll="{TemplateBinding CanContentScroll}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
						</DockPanel>
						<ScrollBar Name="PART_HorizontalScrollBar" Orientation="Horizontal" Grid.Row="1" Minimum="0.0" Maximum="{TemplateBinding ScrollableWidth}" ViewportSize="{TemplateBinding ViewportWidth}" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Cursor="Arrow" Value="{Binding Path=HorizontalOffset, RelativeSource={RelativeSource TemplatedParent}, Mode=OneWay}" Style="{DynamicResource HorizontalScrollBarStyle1}"/>
						<ScrollBar Name="PART_VerticalScrollBar" Orientation="Vertical" Margin="0,21,0,0" Grid.Column="1" Minimum="0.0" Maximum="{TemplateBinding ScrollableHeight}" ViewportSize="{TemplateBinding ViewportHeight}" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Cursor="Arrow" Value="{Binding Path=VerticalOffset, RelativeSource={RelativeSource TemplatedParent}, Mode=OneWay}" Style="{DynamicResource VerticalScrollBarStyle1}" />
						<DockPanel Grid.Column="1" Grid.Row="1" LastChildFill="false" Background="{Binding Path=Background, ElementName=PART_VerticalScrollBar}">
							<Rectangle DockPanel.Dock="Left" Width="1" Fill="White" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" />
							<Rectangle DockPanel.Dock="Top" Height="1" Fill="White" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" />
						</DockPanel>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style TargetType="{x:Type ScrollViewer}" BasedOn="{StaticResource ScrollViewerSetup}" />
	<Style TargetType="{x:Type Controls:SimpleScrollViewer}" BasedOn="{StaticResource ScrollViewerSetup}" />
</ResourceDictionary>